package com.biostime.dingdingbox.modules.db.entity;

import java.sql.Date;

import com.biostime.dingdingbox.common.persistence.DataEntity;

public class Myuser  extends DataEntity<Myuser>{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 用户
	 */
	private String name; // 用户姓名
	private int state; // 状态
	private String phone; // 用户电话
	private String wechat; // 微信号
	private Integer userId; // 用户id
	private Date createTime; // 创建时间
	private Date loginTime; // 登录时间
	private String department; // 部门
	
	
	public Myuser(){
		
	}
	public Myuser(Integer userId){
		setUserId(userId);
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getWechat() {
		return wechat;
	}
	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
}
